<?php

namespace App\Admin\Actions\Aliyun;

use Dcat\Admin\Actions\Response;
use Dcat\Admin\Grid\RowAction;
use Illuminate\Http\Request;

class DownloadCert extends RowAction
{
    protected string $title = '下载证书';

    public function handle(): Response
    {
        return $this->response()->download(route('admin.ssl.show', $this->getKey()));
    }
}
